<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <!--ios是否允许创建快捷方式-->
    <meta content="yes" name="apple-mobile-web-app-capable">
    <!--ios顶部通知栏的样式：黑色-->
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <!--遇到数字不让转换成电话号码的格式-->
    <meta content="telephone=no" name="format-detection">
    <meta name="description" content="乐淘是中国最大的正品运动鞋，皮鞋专卖" >
    <meta name="Keywords" content="乐淘 乐淘鞋城 买鞋子 上乐淘 运动鞋城" >
    <link type="image/x-icon" rel="shortcut icon" href="../images/favicon.ico">
    <link rel="stylesheet" href="../assets/mui/css/mui.css">
    <link rel="stylesheet" href="../assets/fa/css/font-awesome.css">
    <link rel="stylesheet" href="../css/common.css">
    <link rel="stylesheet" href="../css/address.css">
    <title>乐淘-收货地址管理</title>
</head>
<body>
<!--首页-->
<!--通栏-->
<div class="ct_container">
    <header class="ct_header">
        <a href="javascript:history.back();" class="left"><span class="fa fa-arrow-left"></span></a>
        <h3>收货地址管理</h3>
        <!--<a href="javascript:;" class="right"><span class="fa fa-refresh"></span></a>-->
    </header>

    <div class="ct_content">
        <div class="ct_wrapper">
            <div class="mui-scroll-wrapper" id="refreshContainer">
                <!--滑动区域-->
                <div class="mui-scroll">
                    <ul class="mui-table-view  address">
                        <li class="mui-table-view-cell mui-media">
                            <a href="add_address.html">
                                <div class="mui-media-body">
                                    <p class="mui-ellipsis mui-text-center">添加收货地址</p>
                                </div>
                            </a>
                        </li>

                    </ul>
                </div>
            </div>
        </div>
    </div>



    <footer class="ct_footer">
        <a class="tab_home fa fa-home" href="../index.html"><span>首页</span></a>
        <a class="tab_cate fa fa-bars" href="../category.html"><span>分类</span></a>
        <a class="tab_cart fa fa-shopping-cart" href="cart.html"><span>购物车</span></a>
        <a class="tab_user fa fa-user now" href="user.html"><span>会员中心</span></a>
    </footer>
</div>
<script type="text/template" id="addresses">
    <% for(var i = 0; i < result.length; i++) {%>
    <li class="mui-table-view-cell mui-transitioning">
        <div class="mui-slider-right mui-disabled">
            <a class="mui-btn mui-btn-blue mui-icon mui-icon-compose" style="transform: translate(0px, 0px);" href="editAddress.html?id=<%=result[i].id%>"></a>
            <a class="mui-btn mui-btn-red mui-icon mui-icon-trash"   style="transform: translate(-90px, 0px);" data-id="<%=result[i].id%>"></a>
        </div>
        <div class="mui-slider-handle" style="transform: translate(0px, 0px);">
            <div class="mui-table-cell">
                邮编:<%=result[i].postCode%> &nbsp;&nbsp;收件人:<%=result[i].recipients%>
                <p class="mui-ellipsis"><%=result[i].address%><%=result[i].addressDetail%></p>
            </div>
        </div>
    </li>
    <% } %>
</script>
<script src="../assets/mui/js/mui.js"></script>
<script src="../assets/zepto/zepto.min.js"></script>
<script src="../assets/artTemplate/template-native.js"></script>
<script src="../js/address.js"></script>
<script src="../js/common.js"></script>
</body>
</html>